* {
    margin: 0;
    padding: 0;
}
html { height: 100%; }
body { height: 100%;
    background: #fff url(../img/common/background.jpg) 50% 50% no-repeat;
    background-size: cover;
}
.login { position: absolute;
    left: 50%;
    top: 50%;
    width: 430px;
    height: 600px;
    margin: -300px 0 0 -215px;
    border: 1px solid #337ab7;
    border-radius: 20px;
    overflow: hidden;
}
.logo {
    width: 104px;
    height: 104px;
    margin: 50px auto 80px;
    background: url(../img/login/login.png) 0 0 no-repeat;
    /*background: url(../img/login/erha.png) ;*/
}
.form-item {
    position: relative;
    width: 360px;
    margin: 0 auto;
    padding-bottom: 30px;
}
.form-item-code{
    position: relative;
    margin: 0 auto;
    padding-bottom: 30px;
}
.form-item-code > div{
    height: 48px;
}
.form-item-code > div:first-child{
    display: flex;
    justify-content: space-around;
}

.form-item-code > div:first-child > div:nth-child(2){
    width: 140px;
    border: 1px solid #337ab7;
    margin-left: -50px;

}


.form-item-code input{
    width: 140px;
    height: 48px;
    padding-left: 40px;
    border: 1px solid #337ab7;
    border-radius: 25px;
    font-size: 18px;
    color: #337ab7;
    background-color: transparent;
    outline: none;
}

.form-item input {
    width: 288px;
    height: 48px;
    padding-left: 70px;
    border: 1px solid #337ab7;
    border-radius: 25px;
    font-size: 18px; color: #337ab7;
    background-color: transparent;
    outline: none;
}
.form-item button {
    width: 360px;
    height: 50px;
    border: 0;
    border-radius: 25px;
    font-size: 18px;
    color: #337ab7;
    outline: none;
    cursor: pointer;
    background-color: #fff;
}
#phone{
    background: url(../img/login/emil.png) 20px 14px no-repeat;
}
#password {
    background: url(../img/login/password.png) 23px 11px no-repeat;
}


.tip {
    display: none;
    position: absolute;
    left: 20px;
    top: 52px;
    font-size: 14px;
    color: #f50;
}
.reg-bar {
    width: 360px;
    margin: 20px auto 0;
    font-size: 14px;
    overflow: hidden;
}
.reg-bar a {
    color: #337ab7;
    text-decoration: none;
    cursor: pointer;
}
.reg-bar a:hover {
    text-decoration: underline;

}
.reg-bar .reg {
    float: left;
}
.reg-bar .forget {
    float: right;
}
.login ::-webkit-input-placeholder { font-size: 18px; line-height: 1.4; color: #337ab7;}
.login :-moz-placeholder { font-size: 18px; line-height: 1.4; color: #337ab7;}
.login ::-moz-placeholder { font-size: 18px; line-height: 1.4; color: #337ab7;}
.login :-ms-input-placeholder { font-size: 18px; line-height: 1.4; color: #337ab7;}

@media screen and (max-width: 500px) {
    * { box-sizing: border-box; }
    .login { position: static; width: auto; height: auto; margin: 0 30px; border: 0; border-radius: 0; }
    .logo { margin: 50px auto; }
    .form-item { width: auto; }
    .form-item-code {width:auto;}
    .form-item input, .form-item button, .reg-bar { width: 100%; }
}

.code > img{
    cursor: pointer;
}
